package fileReader.demo.reader;

import java.awt.Graphics;

public class PolyLineMapLayer extends MapLayer{

	/**
	 * Draws this roadnrailw map layer on screen
	 * 
	 * @param g graphics
	 * @param zoom value
	 * @param xtrans x_translation
	 * @param ytrans y_translation
	 */
	
	public void drawLayer(Graphics g, double zoom, int x_translation, int y_translation, String layer) {
		 for (int i = 0 ; i < data.size() ; i++) {
			PolyLineDrawer p = (PolyLineDrawer) data.get(i);
		    p.Draw(g,zoom,x_translation, y_translation, layer);
		 }
	}

}
